package com.ssy.lingxi.platform.manage.controller;

import com.ssy.lingxi.common.controller.BaseController;
import com.ssy.lingxi.common.response.Wrapper;
import com.ssy.lingxi.platform.manage.service.PlatformParameterManageService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @menu 订单能力-会员评价管理
 * @author wyx
 * @version 2.0.0
 * @date 2021-09-26
 */
@RestController
@RequestMapping("/manage/activity/member/evaluation")
public class MemberEvaluationManageController extends BaseController {
    @Resource
    private PlatformParameterManageService platformParameterManageService;


    /**
     * 获取商家审核评价内容平台参数
     * @return 参数值
     */
    @RequestMapping(value = "/find", method = RequestMethod.GET)
    public Wrapper<Integer> findMemberEvaluation() {
        getSysUser();
        return platformParameterManageService.findMemberEvaluation();
    }
}
